🎖️GitЯра🎖️
Commit 82135df865c4595d3ee509ac3535b86e343874b6
Parents : fd0e2c0
Author : James Rich <2199651+jamesarich@users.noreply.github.com>
Signature : Signature validation error
Date : 2026-05-11T19:34:24-05:00
Committer : GitHub <noreply@github.com>
Date : 2026-05-11T19:34:24-05:00
Update notification intents and deep link URI format (#5408)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Changes
2 files changed, 3 insertions(+), 3 deletions(-)
Diff
diff --git a/core/service/src/androidMain/kotlin/org/meshtastic/core/service/MeshServiceNotificationsImpl.kt b/core/service/src/androidMain/kotlin/org/meshtastic/core/service/MeshServiceNotificationsImpl.kt
index 3bddd12912..c1c3964b77 100644
--- a/core/service/src/androidMain/kotlin/org/meshtastic/core/service/MeshServiceNotificationsImpl.kt
+++ b/core/service/src/androidMain/kotlin/org/meshtastic/core/service/MeshServiceNotificationsImpl.kt
@@ -731,7 +731,7 @@ class MeshServiceNotificationsImpl(
private val openAppIntent: PendingIntent by lazy {
val intent =
Intent(context, Class.forName("org.meshtastic.app.MainActivity")).apply {
- flags = Intent.FLAG_ACTIVITY_SINGLE_TOP
+ flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_SINGLE_TOP
}
PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT)
}
@@ -763,7 +763,7 @@ class MeshServiceNotificationsImpl(
}
private fun createOpenNodeDetailIntent(nodeNum: Int): PendingIntent {
- val deepLinkUri = "$DEEP_LINK_BASE_URI/node?destNum=$nodeNum".toUri()
+ val deepLinkUri = "$DEEP_LINK_BASE_URI/nodes/$nodeNum".toUri()
val deepLinkIntent =
Intent(Intent.ACTION_VIEW, deepLinkUri, context, Class.forName("org.meshtastic.app.MainActivity")).apply {
flags = Intent.FLAG_ACTIVITY_SINGLE_TOP
diff --git a/feature/firmware/src/commonTest/kotlin/org/meshtastic/feature/firmware/ota/WifiOtaTransportTest.kt b/feature/firmware/src/commonTest/kotlin/org/meshtastic/feature/firmware/ota/WifiOtaTransportTest.kt
index d7e9b76a89..826be9d6fb 100644
--- a/feature/firmware/src/commonTest/kotlin/org/meshtastic/feature/firmware/ota/WifiOtaTransportTest.kt
+++ b/feature/firmware/src/commonTest/kotlin/org/meshtastic/feature/firmware/ota/WifiOtaTransportTest.kt
@@ -211,7 +211,7 @@ class WifiOtaTransportTest {
try {
transport.close()
- assertNull(withTimeout(1_000L) { connection.readLine() })
+ assertNull(withTimeout(5_000L) { connection.readLine() })
val result = transport.startOta(1L, "hash")
assertTrue(result.isFailure)
Served by rngit 1.5.0 - Generated in 0.06s